home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-04-01 | 1.0 KB | 53 lines |
- # zsoelim Makefile for the man package.
- #
- # Copyright (C) 1994, 1995, Graeme Wilford.
- #
- # You may distribute under the terms of the GNU General Public
- # License as specified in the COPYING file that comes with this
- # distribution.
- #
- # Sat Oct 29 13:09:31 GMT 1994 Wilf. (G.Wilford@ee.surrey.ac.uk)
-
- srcdir = @srcdir@
- VPATH = @srcdir@
- top_srcdir = @top_srcdir@
- INSTALL = @INSTALL@
-
- include ../include/Defines
-
- .PHONY: $(DEFAULT_TARGETS)
-
- override CPPFLAGS := $(DEFS) -I../include -I$(top_srcdir) -I- $(CPPFLAGS)
-
- # You may need to modify these options if you have lex instead of flex
- # and you want to play with zsoelim.l
- FLEXOPTS = -B8 -Cfe
- LEX := $(LEX) $(FLEXOPTS)
-
- all: zsoelim
-
- zsoelim: ../lib/libman.a
-
- ../lib/libman.a:
- $(MAKE) -C ../lib
-
- # The standard targets
- install: all
- $(MKINSTALLDIRS) $(bindir)
- $(INSTALL_PROGRAM) zsoelim $(bindir)/$(zsoelim)
-
- uninstall:
- rm -f $(bindir)/$(zsoelim)
-
- clean:
- rm -f zsoelim *.o core *~
-
- distclean: zsoelim.c clean
- rm -f Makefile
-
- realclean: distclean
- rm -f zsoelim.c tags
-
- TAGS:
- $(MKTAGS) $(srcdir)/*.[lc]
-